package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author <a href="https://fengwenyi.com?fs=mpcg">Erwin Feng</a>
 * @since 2024-02-02
 */
@Data
@Accessors(chain = true)
@TableName("sys_python_action")
public class SysPythonActionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("action_name")
    private String actionName;

    @TableField("action_type")
    private String actionType;

    /**
     * 默认每月价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 上升一次的折扣
     */
    @TableField("discount")
    private Integer discount;

    @TableField("action_time")
    private LocalDateTime actionTime;
    @TableField("end_time")
    private LocalDateTime eneTime;
    @TableField("creat_time")
    private LocalDateTime creatTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("creat_by")
    private String creatBy;

    @TableField("update_by")
    private LocalDateTime updateBy;

    @TableField("del_status")
    private Integer delStatus;

    @TableField("action_status")
    private Integer actionStatus;
}
